home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Add-Ons / MicroPhone / Open Mike™ / Open Mike™ 012 / Mike's Folder / Snippet Show < prev    next >
Encoding:
Text File  |  1993-12-01  |  1.8 KB  |  18 lines  |  [TEXT/ttxt]

  1. Snippet Show
  2. ============
  3. Copyright © 1993 by Celestin Company
  4. All rights reserved.
  5.  
  6. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without permission in writing from the publisher. However, you are permitted to make copies of this work, printed or otherwise, as long as said copies are for your personal use only.
  7.  
  8. Introduction
  9. ------------
  10. If you are looking for small but useful script examples, you've come to the right place. This edition of Snippet Show introduces three new snippets, described in detail below. Feel free to use any of these snippets in your own creations, or modify them to suit your needs. Click the "Clips" button to display four new buttons: prompt, wait, append, and Back. The prompt button will show you the GetPrompt script. The wait button will show you the WaitNextLine script. The append button will show you the AppendSelection script. Finally, the Back button will return you to the original set of buttons on the button bar.
  11.  
  12. Snippets
  13. --------
  14. Viewer - this is a simple script that takes advantage of MicroPhone's Message Box command. It asks the users to select a file, and then displays it in the message box. If the file is greater than 32K in size, the user is warned that only a portion of the file will be displayed.
  15.  
  16. Password - this script asks the user for a password. It returns success if the correct password is given, and failure if an incorrect password is given. It gives the user three chances to enter the correct password.
  17.  
  18. KeyGen - this script generates a key based on the user's name. You can use this key as a means to identify the user, without having to refer to the user's name. Although it is possible for the same key to be generated for two different users, it is unlikely.